﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Service;
using Model;

namespace Manager
{
    /// <summary>
    /// HW_ShcoolUpLoadLog业务逻辑
    /// 创建人：Wilson
    /// 创建时间：2013-1-29  
    /// </summary>
    public class HW_ShcoolUpLoadLogManager
    {
        			
        #region##通过主键ID得到HW_ShcoolUpLoadLog
        /// <summary>
        /// 功能：通过ID得到HW_ShcoolUpLoadLog
        /// 创建人：  Wilson 
        /// 创建时间：2013-1-29   
        /// </summary>
        /// <param name="">主键ID</param>
        /// <returns></returns>
        public HW_ShcoolUpLoadLog GetById(string upschoolcode)
        {            
            using (HW_ShcoolUpLoadLogService ws = new HW_ShcoolUpLoadLogService())
			{
				return ws.GetById(upschoolcode);
			}
        }
        #endregion
		
		#region##通过主键ID删除HW_ShcoolUpLoadLog
        /// <summary>
        /// 功能：通过主键ID删除HW_ShcoolUpLoadLog
        /// 创建人：  Wilson 
        /// 创建时间：2013-1-29   
        /// </summary>
        /// <param name="">主键ID</param>
        /// <returns></returns>
		public int DeleteById(string upschoolcode)
		{
			using (HW_ShcoolUpLoadLogService ws = new HW_ShcoolUpLoadLogService())
			{
				return ws.DeleteById(upschoolcode);
			}
		}
		#endregion			
		
        #region##添加HW_ShcoolUpLoadLog
        /// <summary>
        /// 功能：添加HW_ShcoolUpLoadLog
        /// 创建人：  Wilson 
        /// 创建时间：2013-1-29
        /// </summary>
        /// <param name=""></param>
        /// <returns></returns>
        public int Add(HW_ShcoolUpLoadLog hw_shcooluploadlog)
        {
            using (HW_ShcoolUpLoadLogService ws = new HW_ShcoolUpLoadLogService())
			{
				return ws.Add(hw_shcooluploadlog);
			}
        }
        #endregion
		
		#region##得到HW_ShcoolUpLoadLog集合
		/// <summary>
        /// 功能：得到HW_ShcoolUpLoadLog集合
        /// 创建人：  Wilson 
        /// 创建时间：2013-1-29
        /// </summary>       
        /// <returns></returns>
		public IList<HW_ShcoolUpLoadLog> GetList()
		{
		    using (HW_ShcoolUpLoadLogService ws = new HW_ShcoolUpLoadLogService())
			{
				return ws.GetList();
			}
		}
		#endregion
		
		#region##修改HW_ShcoolUpLoadLog
        /// <summary>
        /// 功能：修改HW_ShcoolUpLoadLog
        /// 创建人：  Wilson 
        /// 创建时间：2013-1-29
        /// </summary>
        /// <param name=""></param>
        /// <returns></returns>
        public int ModHW_ShcoolUpLoadLog(HW_ShcoolUpLoadLog hw_shcooluploadlog)
        {
            using (HW_ShcoolUpLoadLogService ws = new HW_ShcoolUpLoadLogService())
			{
				return ws.ModHW_ShcoolUpLoadLog(hw_shcooluploadlog);
			}
        }
        #endregion
		
		#region##统计HW_ShcoolUpLoadLog
		/// <summary>
        /// 修改HW_ShcoolUpLoadLog
        /// 创建人：  Wilson 
        /// 创建时间：2013-1-29
        /// </summary>
        /// <param name=""></param>
        /// <returns></returns>
		public int SelectCount()
		{
			using (HW_ShcoolUpLoadLogService ws = new HW_ShcoolUpLoadLogService())
			{
				return ws.SelectCount();
			}
		}
        /// <summary>
        /// 修改HW_ShcoolUpLoadLog
        /// 创建人：  Wilson 
        /// 创建时间：2013-1-29
        /// </summary>
        /// <param name=""></param>
        /// <returns></returns>
        public int SelectCountById()
        {
            using (HW_ShcoolUpLoadLogService ws = new HW_ShcoolUpLoadLogService())
			{
				return ws.SelectCountById();
			}
        }
		#endregion
        #region##自定义HW_ShcoolUpLoadLog
        #endregion
    }
}